﻿#ifndef COLUMNMAPPING_H
#define COLUMNMAPPING_H

#include <QWidget>
#include <QSpinBox>

namespace Ui {
class ColumnMapping;
}

typedef struct column_map{
    bool core_flag;
    int res_col;
    int src_col;
    QVector<QVariant> val_vector;
}COLUMN_MAP;

class ColumnMapping : public QWidget
{
    Q_OBJECT

public:
    explicit ColumnMapping(QWidget *parent = nullptr);
    ~ColumnMapping();
    void getColumnMap(COLUMN_MAP* pMap);
    void setSeq(QString seq);


signals:
    void updateColumnSignal();

public slots:
    void updateSlots(QString text);

private:
    Ui::ColumnMapping *ui;    

};

#endif // COLUMNMAPPING_H
